package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

import javax.ejb.Local ;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.pojo.interfaces.IContact;
import com.hy.erp.inventory.service.ContactService;
import com.hy.framework.lang.annotation.ImplementsBy;

@ Local
@ ImplementsBy ( ContactService.class )
public interface IContactService extends IBusinessService < IContact >{
	public boolean addContact (
	                   			IContact contact );

	public String [] addContact (
	                   			Object [] contact );

	                   public boolean modifyContact (
	                   		IContact contact  );
	                   public String [] modifyContact (
	                	                   			Object [] contact );

	                   public Integer removeContact (
	                                   String [ ] contactIds ) ;
	                   public List<IContact> getContactById(String[] id) ;
	                   
	                   public List < IContact > getAllContact();

	                   public List < IContact > getContactByQueryName(String queryName,Object[] args);

	                   
	                   
	                   }



